package com.cn.learn.jpa.yml;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @ClassName SelfConfig
 * @Description
 * @Author JiJiang
 * @Date 2022/9/20 18:25
 * @Version 1.0
 */
@Component
@ConfigurationProperties(prefix = "selfconfig")
@Data
public class SelfConfig {
    private int port;

}
